package org.starsource.forum.server.transaction;

import java.util.Set;

import org.starsource.forum.client.exception.CategoryNotFoundException;
import org.starsource.forum.client.exception.DatabaseException;
import org.starsource.forum.server.domain.Category;
import org.starsource.forum.server.domain.User;

public interface CategoryTransaction {
	
	public Category getCategory(User requester, int id) throws CategoryNotFoundException, DatabaseException;

	public Set<Category> getCategorySet(User requester) throws DatabaseException;
	
}
